package com.example.demo.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResBody<T> {
    public Integer code;//  状态码
    public String msg;//    信息
    public long count;//    计数器
    public List<T> data  = new ArrayList<T>();//    临时数组
}